#ifndef GIFTCARD_H
#define GIFTCARD_H
#include <QDate>
class GiftCard
{
public:
    GiftCard();
    enum {
        ALL_MODE = 0,
        OUT_MODE,
        IN_MODE
    };

    enum COL_NUMBER{
        ID_COL = 0,
        GIFT_NUMBER_COL,
        OUT_DATE,
        IN_DATE,
        VALUE,
        EXPEND,
        EXTANT
    };
    static bool insertGiftCard(int number, float value, QDate date);
    static bool updateGiftCard(int number, float value, QDate date);

};

#endif // GIFTCARD_H
